package com.amit.Basic_Simple_Program;

import java.util.ArrayList;

public class Remove_From_Range_ArrayList {

	public static void main(String[] args) {
		
		
		
		ArrayList al=new ArrayList();
		
		al.add("a");
		al.add("b");
		al.add("c");
		al.add("d");
		al.add("e");
	
		
		System.out.println(al);
		
		al.subList(2, 4).clear();
		System.out.println(al);
		
		
		
		
		
		

	}

}
